home *** CD-ROM | disk | FTP | other *** search
- ; This is a simple QmodemPro script that will allow you to logon to any
- ; WILDCAT! BBS, download a mail packet from TomCat and then upload any
- ; .Rep packets you have waiting for that system. To use the script
- ; fill out the User Id, Password, Script, and Packet fields in the
- ; dialing entry for the BBS you want to call. Then simply call that
- ; system and the script will do the rest.
- ;
- ; **********************************************************************
- ; To operate properly you must enter your name and password in the
- ; QmodemPro phonebook entry, must be in EXPERT mode in WILDCAT! and must
- ; have Hotkeys turned OFF.
- ; **********************************************************************
- ;
-
- TurnON 8_BIT ; These Are Our Terminal Settings
- TurnOFF LINEFEED ; For This Session
- TurnOFF XON/XOFF
- TurnON NOISE
- TurnOFF MUSIC
- TurnON SCROLL
- TurnOFF PRINT
- TurnOFF SPLIT
- TurnON STATUSLN
- TurnOFF DOORWAY
-
- TimeOut 45 ; Set Waitfor for 45 seconds
- When "PROTOCOL MENU" "Z^M" ; Select Default Protocol Prompt
-
- Waitfor "What is your first name" ; Wait for WC to prompt for your name
- Delay 100
- Send "!$USERID^M" ; Send UserID from the Phone Book.
-
- WaitFor "Password?" ; Wait For Password Prompt
- Delay 100
- Send "$PASSWORD^M" ; Send Password From Dialing Entry
-
- Waitfor "TOMCAT MENU" ; TomCat!'s Main Menu
-
- DOWNLOADAGAIN:
- IF $GETMAIL DOWNLOADMAIL ; If Downloading Qwk packet
- DOWNFINISHED: ; Label For DownFinished
-
- UPLOADAGAIN:
- IF $SENDMAIL UPLOADMAIL ; If Send Rep Packet
- UPSUCCESS: ; Label For Upload Success
- TimeOut 30 EXITSYSTEM ; Goto EXITSYSTEM Upon Timeout
- DELETEF $REPPATH$PACKET.REP ; Delete .REP Packet
- When "Auto Logoff" "H^M"
- Waitfor "TOMCAT" ; Wait For TomCat Menu
- Delay 100
- Send "G^M" ; Send Hangup Command
- EXITSYSTEM:
- Exit ; Script Is Done.
-
- UPLOADMAIL: ; Label For Upload Routine
- Timeout 30 ; Reset Timeout Value
- Delay 100
- Send "U^M" ; Tell It To [D]ownload Mail
- Delay 500 ; Pause For 1/2 Second
- UPLOAD Z $REPPATH$PACKET.REP ; Upload .REP Packet
- IF $SUCCESS UPSUCCESS ; If Success Then Goto UPSUCCESS
- GOTO UPLOADAGAIN ; If Not Loop Back Around
-
- DOWNLOADMAIL: ; Download QWK Routine
- Timeout 500 ; Timeout Value For Getting Messages
- When "Nothing" DOWNFINISHED
- Delay 100
- Send "D^M" ; Tell It To [D]ownload Mail
- Waitfor "this packet" ; String To Start Download
- Delay 100
- Send "Y^M" ; Send Yes To Download Packet
- Waitfor "Start Your" ;
- DOWNLOAD Z $QWKPATH ; Download The .QWK Packet using Zmodem
- IF $SUCCESS DOWNFINISHED ; If Successful Goto DOWNFINISHED
- GOTO DOWNLOADAGAIN ; If Not Try Again
-